package com.fruits.service;

import com.fruits.domain.Fruit;

import java.util.List;

public interface FruitService {
    public List<Fruit> findHot();
    public Fruit findByFid(int fid);
    public List<Fruit> findByStr(String keyword) ;
    public boolean add(Fruit fruit) ;
    public boolean update(Fruit fruit) ;
    public boolean delete(int fid) ;

   public List<Fruit> findAll();
    public List<Fruit>searchByOrigin();
    public List<Fruit> searchByChinaOrigin();
}
